//
//  RecordModel.m
//  LoveDraw
//
//  Created by 零零壹 on 2017/7/10.
//  Copyright © 2017年 梁晨. All rights reserved.
//

#import "RecordModel.h"

@implementation RecordModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        self.Minedescription = value;
    }
}

+(NSMutableArray *)modelConfigure:(NSArray *)dataArr
{
    NSMutableArray *Arr = [NSMutableArray array];
    for (NSDictionary *dic in dataArr)
    {
        RecordModel *model = [[RecordModel alloc]init];
        [model setValuesForKeysWithDictionary:dic];
        [Arr addObject:model];
    }
    return Arr;
}

@end
